package com.kx.simple_factory_mode;

/**
 * Created on 2021/10/14.
 *
 * @author KaiXuan Xiao
 */
///////////////////////////////////////////////////////////////////////////
// 抽象操作类
///////////////////////////////////////////////////////////////////////////
public abstract class Operation {
    private double _numberA;
    private double _numberB;

    public abstract double getResult() throws Exception;

    public double get_numberA() {
        return _numberA;
    }

    public void set_numberA(double _numberA) {
        this._numberA = _numberA;
    }

    public double get_numberB() {
        return _numberB;
    }

    public void set_numberB(double _numberB) {
        this._numberB = _numberB;
    }
}
